package bean;

import java.util.ArrayList;

public class PortType {
	private String nome;
	private ArrayList<WSDLOperation> operations;
	
	public PortType(){
		nome = null;
		operations = new ArrayList<WSDLOperation>();
	}
	
	public String getNome() {
		return nome;
	}
	
	public void setNome(String nome) {
		this.nome = nome;
	}
	
	public ArrayList<WSDLOperation> getOperations() {
		return operations;
	}
	
	public void setOperation(ArrayList<WSDLOperation> operations) {
		this.operations = operations;
	}
	
	public void addOperation(WSDLOperation operation){
		operations.add(operation);
	}
}
